﻿using System.Collections.Generic;

namespace Medicalsystem.MCP.FormDesigner.Define
{
    /// <summary>
    /// 控件集合
    /// </summary>
    public class CtrlCollection
    {
        public CtrlCollection(Model model)
        {
            _ctrls = new List<CtrlMng>();
            _model = model;
        }

        private List<CtrlMng> _ctrls;
        private Model _model;

        /// <summary>
        /// 获取控件集合
        /// </summary>
        public List<CtrlMng> Ctrls
        {
            get { return _ctrls; }
        }

        /// <summary>
        /// 获取模板
        /// </summary>
        public Model Model
        {
            get { return _model; }
        }
    }
}